package cn.com.greatwall.tools.domain.vo;

import java.util.List;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/** 
* @Author herw
* @Time 2020-07-23 8:11:16 PM 
* @Version 1.0
* @Description:
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmailVo {
    /** 收件人，支持多个收件人 */
    @NotEmpty
    private List<String> tos;

    @NotBlank
    private String subject;

    @NotBlank
    private String content;
}
